Code Context return $chunks[$cnk];
}else{
return $chunks[0];
$productIds = array()
$order = 'CASE WHEN (OcProduct.price=0) THEN 1 ELSE 0 END,OcProduct.price asc'
$c_d = array()
$new_ids = array()
$chunks = array()
SearchesController::__get_sorted_ids() - APP/Controller/SearchesController.php, line 2420
SearchesController::view() - APP/Controller/SearchesController.php, line 178
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 120